﻿using System;

// Token: 0x020001E8 RID: 488
public class OneOffShootAction : ShooterAction
{
	// Token: 0x06000A62 RID: 2658 RVA: 0x0005A885 File Offset: 0x00058A85
	public OneOffShootAction()
	{
		this.name = "OneOffShot";
	}

	// Token: 0x06000A63 RID: 2659 RVA: 0x0005A898 File Offset: 0x00058A98
	public override void StartAction()
	{
		this.shooterController = this.agent.gameObject.GetComponent<AIShooterController>();
		this.shooterController.Fire();
	}

	// Token: 0x06000A64 RID: 2660 RVA: 0x0005A8BB File Offset: 0x00058ABB
	public override bool IsCompleted()
	{
		return this.hasStarted && !this.shooterController.isFiring;
	}
}
